package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.SpokenHome;

import java.util.List;

public interface SpokenHomeMapper {

    /**
     * 添加模块
     * @param home
     * @return
     */
    public int insert(SpokenHome home);

    /**
     * 更新模块
     * @param home
     * @return
     */
    public int update(SpokenHome home);

    /**
     * 根据模块id查询模块信息
     * @param homeId
     * @return
     */
    public SpokenHome getById(Long homeId);

    /**
     * 查询所有首页模块
     * @param home
     * @return
     */
    public List<SpokenHome> selectList(SpokenHome home);
}
